package com.ruoyi.project.module.yaopin.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 药品表 yaopin
 * 
 * @author ruoyi
 * @date 2018-12-22
 */
public class Yaopin extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 药品代码 */
	private Integer yaoId;
	/** 药品名称 */
	private String yaoname;
	/** 药品规格 */
	private String yaoguige;
	/** 药品类型id */
	private Integer yaotypeId;
	/** 药品类型 */
	private String yaotype;
	/** 剂型id */
	private Integer yaojixingId;
	/** 剂型 */
	private String yaojixing;
	/** 单位id */
	private Integer yaodanweiId;
	/** 单位 */
	private String yaodanwei;
	/** 加入时间 */
	private Date yaostartDate;
	/** 退出时间 */
	private Date yaostopDate;
	/**  */
	private Integer kufangId;

	public void setYaoId(Integer yaoId) 
	{
		this.yaoId = yaoId;
	}

	public Integer getYaoId() 
	{
		return yaoId;
	}
	public void setYaoname(String yaoname) 
	{
		this.yaoname = yaoname;
	}

	public String getYaoname() 
	{
		return yaoname;
	}
	public void setYaoguige(String yaoguige) 
	{
		this.yaoguige = yaoguige;
	}

	public String getYaoguige() 
	{
		return yaoguige;
	}
	public void setYaotypeId(Integer yaotypeId) 
	{
		this.yaotypeId = yaotypeId;
	}

	public Integer getYaotypeId() 
	{
		return yaotypeId;
	}
	public void setYaotype(String yaotype) 
	{
		this.yaotype = yaotype;
	}

	public String getYaotype() 
	{
		return yaotype;
	}
	public void setYaojixingId(Integer yaojixingId) 
	{
		this.yaojixingId = yaojixingId;
	}

	public Integer getYaojixingId() 
	{
		return yaojixingId;
	}
	public void setYaojixing(String yaojixing) 
	{
		this.yaojixing = yaojixing;
	}

	public String getYaojixing() 
	{
		return yaojixing;
	}
	public void setYaodanweiId(Integer yaodanweiId) 
	{
		this.yaodanweiId = yaodanweiId;
	}

	public Integer getYaodanweiId() 
	{
		return yaodanweiId;
	}
	public void setYaodanwei(String yaodanwei) 
	{
		this.yaodanwei = yaodanwei;
	}

	public String getYaodanwei() 
	{
		return yaodanwei;
	}
	public void setYaostartDate(Date yaostartDate) 
	{
		this.yaostartDate = yaostartDate;
	}

	public Date getYaostartDate() 
	{
		return yaostartDate;
	}
	public void setYaostopDate(Date yaostopDate) 
	{
		this.yaostopDate = yaostopDate;
	}

	public Date getYaostopDate() 
	{
		return yaostopDate;
	}
	public void setKufangId(Integer kufangId) 
	{
		this.kufangId = kufangId;
	}

	public Integer getKufangId() 
	{
		return kufangId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("yaoId", getYaoId())
            .append("yaoname", getYaoname())
            .append("yaoguige", getYaoguige())
            .append("yaotypeId", getYaotypeId())
            .append("yaotype", getYaotype())
            .append("yaojixingId", getYaojixingId())
            .append("yaojixing", getYaojixing())
            .append("yaodanweiId", getYaodanweiId())
            .append("yaodanwei", getYaodanwei())
            .append("yaostartDate", getYaostartDate())
            .append("yaostopDate", getYaostopDate())
            .append("kufangId", getKufangId())
            .toString();
    }
}
